package com.hardydou.framework.websocket;

import javax.websocket.Session;

/**
 * @author ：hardy
 * @description：
 * @date ：Created in 2020/7/2
 * @Copyright ：Hardydou.com
 */
public class UserSession {

    private Long userId;
    private Session session;

    public UserSession(Long userId, Session session) {
        this.userId = userId;
        this.session = session;
    }

    public Long getUserId() {
        return userId;
    }

    public Session getSession() {
        return session;
    }


}
